package com.example.shopspring.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ImageClass {
    @TableId(value = "id", type = IdType.AUTO)
    private long id;
    @NotNull(message = "name不能为空")
    private String name;
    private long classOrder;
    private long imagesCount;
    private long status;
}
